import java.util.Scanner;

public class d058_BASIC_的_SGN_函數 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String input, output;
		int n;
		
		while(sc.hasNext()) {
			input = sc.nextLine();
			n = Integer.parseInt(input);
			
			output = "0";
			
			while(n != Integer.parseInt(output)) {
				output = "1";
				
				while(n < 0) {
					output = "-1";
					
					break;
				}
				
				break;
			}
			
			System.out.println(output);
		} // next
	} // main
	
}